//
//  UILabel+Property.h
//  RiceBasket
//
//  Created by DwZeng on 2021/1/15.
//

#import <UIKit/UIKit.h>

@interface UILabel (Property)

//初始化方法
+(UILabel* (^)())init;
//初始化方法(参数为frame)
+(UILabel* (^)(CGRect frame))initFrame;
//设置文字
-(UILabel* (^)(NSString *text))textStr;
//设置文字大小
-(UILabel* (^)(CGFloat font))textFont;
//设置文字颜色
-(UILabel* (^)(NSString *color))color;
//设置文字对齐方式
-(UILabel* (^)(NSTextAlignment alignment))alignment;
//设置文字行数
-(UILabel* (^)(NSInteger lines))lines;
//动态设置label大小
-(UILabel* (^)())size;
//设置view的backgroundColor
-(UILabel* (^)(NSString *color))bgColor;





@end
